//
//  XYUserStatusModel.swift
//  SinaWB_XY
//
//  Created by 小熊猫 on 15/10/17.
//  Copyright © 2015年 小熊猫. All rights reserved.
//

import UIKit

class XYUserStatusModel: NSObject {

    //用户头像地址（中图），50×50像素
    var profile_image_url:String?
    //用户姓名
    var name:String?

    //    "mbtype": 11,
//				"mbrank": 4,
    //vip信息
    var mbtype:Int = 0{
        didSet{
            isVip = mbtype > 2
        }
    }
    
    //vip等级
    var mbrank:Int = 0
    
    //是否是Vip
    var isVip:Bool = false
    
    
    init(dict:[String:AnyObject]){
        super.init()
        setValuesForKeysWithDictionary(dict)
    }
    
    override func setValue(value: AnyObject?, forUndefinedKey key: String) {  }

}
